home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / metamail / mailcap < prev   
Text File  |  1995-07-02  |  3KB  |  62 lines

  1. # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  2. # Permission to use, copy, modify, and distribute this material 
  3. # for any purpose and without fee is hereby granted, provided 
  4. # that the above copyright notice and this permission notice 
  5. # appear in all copies, and that the name of Bellcore not be 
  6. # used in advertising or publicity pertaining to this 
  7. # material without the specific, prior written permission 
  8. # of an authorized representative of Bellcore.  BELLCORE 
  9. # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  10. # OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  11. # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  12. #
  13. # Prototype Mailcap file
  14. # Note that support for text & multipart are "built in" to metamail,
  15. # as are rudimentary support for message, and application.
  16. # However, any of these may be overridden in mailcap.
  17. #
  18. # Note that users may override or extend this with a .mailcap
  19. # file in their own directory.  However, there is NO NEED
  20. # for them to copy entries from this file, as metamail will
  21. # pick up entries from both the system and personal mailcap files.
  22.  
  23. # The following line is for sites where xv understands jpeg but xloadimage is preferred.
  24. # image/jpeg; showpicture -viewer xv %s
  25. # The following sends all other image subtypes to showpicture.
  26. image/*; showpicture %s
  27. # The following all appear AFTER the corresponding READING entries, and 
  28. # are for use in messages composition, e.g. in the "mailto" program
  29. # In the following lines, the exit 0 junk is necessary because xwd 
  30. # doesn't always exit with a valid exit status!
  31. # For sites with current (X11R5) pbm utilities
  32. # image/gif; showpicture %s; compose="xwd -frame | xwdtopnm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
  33. # The following line should be used instead of the previous by sites
  34. # with old (X11R4) pbm utilities
  35. image/gif; showpicture %s; compose="xwd -frame | xwdtoppm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
  36. # For receiving X11 window image dumps from older versions of Andrew messages
  37. image/x-xwd; showpicture %s; description="An X11 window image dump in X-XWD format"
  38.  
  39. message/partial; showpartial %s %{id} %{number} %{total}
  40. message/external-body; showexternal %s %{access-type} %{name} %{site} %{directory} %{mode} %{server}; \
  41.     needsterminal; composetyped = extcompose %s; \
  42.     description="A reference to data stored in an external location"
  43.  
  44. # If you have an interactive Postscript interpreter, you should think carefully 
  45. # before replacing lpr with it in the following line, because PostScript
  46. # can be an enormous security hole.  It is RELATIVELY harmless
  47. # when sent to the printer...
  48. # application/postscript ; lp %s ; description="A Postscript File";\
  49. #    compose="getfilename Postscript %s"
  50. application/postscript ; /usr/local/contrib/bin/ghostview \
  51.     -xrm 'Ghostview*interpreter: /usr/local/contrib/lib/metamail/gs-safer' %s ;\
  52.     description="A Postscript File"
  53.  
  54. text/richtext; richtext -p %s; copiousoutput
  55. text/plain; more %s; copiousoutput
  56.  
  57. # The following displays Japanese text at sites where the "kterm" program is installed:
  58. # text/plain; kterm -geometry +0+0  -e more %s /dev/null; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-2022-jp
  59.  
  60. default; more %s; copiousoutput
  61.